package homework.module2;

public class SimCard{

    public CardType getCardType() {
        return cardType;
    }

    public void setCardType(CardType cardType) {
        this.cardType = cardType;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getRemaining() {
        return Remaining;
    }

    public void setRemaining(int remaining) {
        Remaining = remaining;
    }

    public int getCallTime() {
        return callTime;
    }

    public void setCallTime(int callTime) {
        this.callTime = callTime;
    }

    public int getStreamNum() {
        return streamNum;
    }

    public void setStreamNum(int streamNum) {
        this.streamNum = streamNum;
    }

    private CardType cardType;  // 手机卡类型

    private String number;  // 卡号
    private String userName;  // 用户名
    private String password;  // 密码
    private int Remaining;  // 余额
    private int callTime;  // 通话时长
    private int streamNum;  // 流量


    public void show(){
        System.out.println("卡号 + 用户名 + 当前余额：" + number + "-" + userName + "-" + password);
    }


    public void setSimCard(CardType micro) {
    }

    public void setPhoneNumber(String s) {
    }
}
